/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model1;

/**
 *
 * @author admin
 */
public class LoginAdmin {

    public boolean login(String userName, String password) {
        if (userName == null || password == null
                || !(userName.equals("admin") && password.equals("admin"))) {
            return false;
        } else {
            return true;
        }
    }
}

